import { MicroApp } from 'umi';
import { useState } from 'react';

export default function App1MicroApp() {
  const [globalStateCom, setGlobalStateCom] = useState<any>({
    slogan: 'Hello MicroFrontend',
  });
  return (
    <MicroApp
      name="app1"
      globalStateCom={globalStateCom}
      setGlobalStateCom={setGlobalStateCom}
    />
  );
}
